package com.tangzx.ant;

import org.apache.tools.ant.BuildException;
import org.apache.tools.ant.Task;


public abstract class FSWD2Task extends Task {
	protected String workbench;
	@Override
	public final void execute() throws BuildException {
		workbench = getProject().getProperty("FSWD2_WORKBENCH");
		try {
			process();
		} catch (Exception e) {
			e.printStackTrace();
		}
	}

	abstract protected void process() throws Exception;
}
